diff options
| author | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
| commit | cf29dcc02e2c9ac593d6e8f0aff2589b80ffa994 (patch) | |
| tree | 447e4a87e739ba4e53e8f31f6e1883cd54896dde /src/routes/(app)/[username]/settings | |
| parent | eff1fd2b4747d07a6b342d2561785c18ea500bcb (diff) | |
| download | coinos-ui-cf29dcc02e2c9ac593d6e8f0aff2589b80ffa994.tar.gz coinos-ui-cf29dcc02e2c9ac593d6e8f0aff2589b80ffa994.zip | |
prettier
Diffstat (limited to 'src/routes/(app)/[username]/settings')
| -rw-r--r-- | src/routes/(app)/[username]/settings/[...tab]/+page.svelte | 4 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/settings/[...tab]/_account.svelte | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte index e1555248..1e8b31ce 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte @@ -60,12 +60,12 @@ if ($avatar) { await upload($avatar.file, $avatar.type, $avatar.progress, token); - await fetch(`/api/public/${id}-profile.webp`, {cache: 'reload', mode: 'no-cors'}) + await fetch(`/api/public/${id}-profile.webp`, { cache: 'reload', mode: 'no-cors' }); } if ($banner) { await upload($banner.file, $banner.type, $banner.progress, token); - await fetch(`/api/public/${id}-banner.webp`, {cache: 'reload', mode: 'no-cors'}) + await fetch(`/api/public/${id}-banner.webp`, { cache: 'reload', mode: 'no-cors' }); } let event = { diff --git a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte index c38334ec..0ab11b32 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte @@ -41,7 +41,7 @@ if (file.size > 10000000) return (tooLarge[type] = true); - if(type === 'profile') { + if (type === 'profile') { $avatar = { id, file, type, progress }; } else if (type === 'banner') { $banner = { id, file, type, progress }; |
